import React from "react";
import styles from './emptyview.module.css';
import icon_none_data from '@/assets/icon_none_data.png';

export default function EmptyView({ icon = icon_none_data, title = 'None data' }) {
    return (
        <div className={styles.emptyViewContent}>
            <img className={styles.emptyViewIcon} alt="" src={icon} />
            <div className={styles.emptyViewTitle}>{title}</div>
        </div >
    )
}